package com.hua.springCloud.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.hua.springCloud.entities.CommonResult;

public class CustomerBlockHandler {
    public static CommonResult handleException1(BlockException exception){
        return new CommonResult("自定义的限流处理信息......CustomerBlockHandler-----handleException1",404);
    }
    public static CommonResult handleException2(BlockException exception){
        return new CommonResult("自定义的限流处理信息......CustomerBlockHandler-----handleException2",404);
    }
}

